package morning.cat.springboot.demo.event;

import lombok.Getter;
import lombok.Setter;
import org.springframework.context.ApplicationEvent;

/**
 * @describe: 类描述信息
 * @author: morningcat.zhang
 * @date: 2019/3/4 2:27 PM
 */
public class BaseEvent<T> extends ApplicationEvent {

    @Setter
    @Getter
    private T param;

    public BaseEvent(Object source, T param) {
        super(source);
        this.param = param;
    }

}
